﻿using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;

namespace CodeCity.AutomationMachine
{
    public class NotifyService : BackgroundService
    {
        protected override Task ExecuteAsync(CancellationToken stoppingToken)
        {
            return Task.Factory.StartNew(() =>
             {
                 while (true)
                 {

                 }
             }, TaskCreationOptions.LongRunning);
        }
    }
}
